package com.ctshk.rpc.custom.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 团期线下渠道明细
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-03-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_customized_trip_schedule_channel_detail")
@ApiModel(value="CustomizedTripScheduleChannelDetail对象", description="团期线下渠道明细")
public class CustomizedTripScheduleChannelDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "线下渠道ID")
    private Long channelId;

    @ApiModelProperty(value = "部门/用户ID")
    private Long relationId;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "加幅类型")
    private Integer adjustType;

    @ApiModelProperty(value = "勾选类型。1：部门，2：员工")
    private Integer checkType;

    private BigDecimal amount;

    @ApiModelProperty(value = "百分比")
    private BigDecimal percent;

    @ApiModelProperty(value = "是否限购。0：否，1：是")
    @TableField("isLimit")
    private Integer islimit;

    @ApiModelProperty(value = "限购数量")
    private Integer limitNum;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
